package com.wh.semaphore;

public class InterruptTest {

	public static void main(String[] args) {
		new Thread(new Runnable() {
			
			@Override
			public void run() {
				//Thread.currentThread().stop();
				System.out.println(Thread.currentThread().interrupted());
				Thread.currentThread().interrupt();
				System.out.println(Thread.currentThread().interrupted());
				System.out.println(Thread.currentThread().interrupted());
				System.out.println("aaa");
			}
		}).start();
	}
}
